package edu.bit.water.dto;

public class TableColumnName {
    public static String getNameByColumn(String col) {
        if(col.contains("ammonia_nitrogen")) {
            return "氨氮";
        }
        else if (col.contains("chroma")) {
            return "色度";
        }
        else if (col.contains("cod")) {
            return "化学需氧量";
        }
        else if (col.contains("ph_value")) {
            return "Ph值";
        }
        else if (col.contains("suspended_matter")) {
            return "悬浮物";
        }
        else if (col.contains("total_nitrogen")) {
            return "总氮";
        }
        else if (col.contains("total_phosphorus")) {
            return "总磷";
        }
        else {
            return col;
        }
    }
}
